<div class="content">
	<div class="simplebox grid740">
	<div class="titleh">
    <h3>用户列表</h3>
    </div>
        <table class="tablesorter"> 
        	<thead> 
        		<tr> 
        			<th class="header">ID</th> 
        			<th class="header">用户名</th> 
        			<th class="header">来源</th>
        			<th class="header">来源用户名</th> 
        			<th class="header">粉丝数</th> 
        			<th class="header">关注数</th> 
        			<th class="header">微博数</th> 
        			<th class="header">登录次数</th> 
        			<th class="header">上次登录时间</th> 
        			<th class="header">上次登录IP</th> 
        			<th class="header">账户余额</th> 
        			<th class="header">操作</th> 
        		</tr> 
        	</thead> 
            
            <tbody> 
            	{loop $users['rows'] $item}
            	<tr> 
            		<td>{$item['id']}</td> 
            		<td>{htmlspecialchars($item['username'])}</td> 
            		<td>{if $item['account_type']=='taobao'}淘宝{/if}</td> 
            		<td>{htmlspecialchars($item['account'])}</td> 
            		<td>{$item['fans_num']}</td> 
            		<td>{$item['follow_num']}</td> 
            		<td>{$item['weibo_num']}</td> 
            		<td>{$item['login_times']}</td> 
            		<td>{DateFormat $item['last_login_time'],'m月d日 H:i'}</td> 
            		<td>{ip $item['last_login_ip']}</td> 
            		<td>{$item['money']}</td> 
            		<td><a href="{url('User','Del',array('id'=>$item['id']))}" type="ajaxGet" confirm="确定要删除么？">删除</a></td> 
            	</tr> 
            	{/loop}
            </tbody> 
        </table>
        {$pages}
	</div>
</div>